<?php
header('Content-Type:text/plain;charset=utf-8');
@$did=$_REQUEST['did'] or die('did required');
@$count=$_REQUEST['count'] or die('count required');
require('0_init.php');
$sql="UPDATE jd_cart_detail SET count ='$count' WHERE did='$did'";
$result = mysqli_query($conn,$sql);
if($result){
	echo 'succ';
}else{
	echo 'err';
}